package com.jili.aspect;

import com.jili.annotation.After;
import com.jili.annotation.Aspect;
import com.jili.annotation.Before;

/**
 *  ClassName: LoggingAspect
 *  Package com.com.jili.aspect
 *  Description:
 *  @Author: 廖继礼
 *  @Create: 2025/6/5
 *  @Version: v1.0
 *
 */
@Aspect("Service")
public class LoggingAspect {

    @Before("Service")
    public void logBefore() {
        System.out.println("[LoggingAspect] Before service method execution");
    }

    @After("Service")
    public void logAfter(Object result) {
        System.out.println("[LoggingAspect] After service method. Result: " + result);
    }

}
